package com.talent.pojo.entity;

import lombok.Data;
import lombok.EqualsAndHashCode;

import java.time.LocalDateTime;

/**
 * 菜单实体类
 */
@Data
@EqualsAndHashCode(callSuper = false)
public class Menu {
    
    private Long id;
    private String name;
    private String description; // 菜单简介
    private String homeImage; // 首页展示图片
    private String type; // MENU, SUBMENU, CONTENT
    private Long parentId;
    private Integer sortOrder;
    private Integer status; // 1-启用，0-禁用
    private Boolean open; // 是否展开（用于前端树形结构）
    private LocalDateTime createTime;
    private LocalDateTime updateTime;
}
